<?php
namespace app\index\controller;
use think\Controller;
use think\Db;


class NewPage extends Controller
{
    public function __construct(){
        parent::__construct();
        $this->conf = getconf('');
        if($this->conf['is_close'] != 1){
            header('Location:/error.html');
        }
        $this->assign('conf',$this->conf);
        $this->token = md5(rand(1,100).time());
        $this->assign('token',$this->token);
    }

  public  function brand( ){
      return $this->fetch();
  }



}
